package com.namo.ccharticle.entity.mongo;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;

/**
 * @author WangXin
 * @date 2021/5/19 20:11
 */
@Document("covers")
@Data
public class Covers {
    @Field("cover_id")
    private String coverId;

    @Field("covers")
    private List<Object> covers;
}
